package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._12状态模式._1基本代码;

//具体状态类A
class ConcreteStateA extends State 
{
    public void handle(Context context) {
        context.setState(new ConcreteStateB());
    }
}
